/* -*- mode: c++ -*- */
/****************************************************************************
 *****                                                                  *****
 *****                   Classification: UNCLASSIFIED                   *****
 *****                    Classified By:                                *****
 *****                    Declassify On:                                *****
 *****                                                                  *****
 ****************************************************************************
 *
 *
 * Developed by: Naval Research Laboratory, Tactical Electronic Warfare Div.
 *               EW Modeling & Simulation, Code 5773
 *               4555 Overlook Ave.
 *               Washington, D.C. 20375-5339
 *
 * License for source code can be found at:
 * https://github.com/USNavalResearchLaboratory/simdissdk/blob/master/LICENSE.txt
 *
 * The U.S. Government retains all rights to use, duplicate, distribute,
 * disclose, or release this software.
 *
 */
#ifndef SIMVIS_OSGEARTHVERSION_H
#define SIMVIS_OSGEARTHVERSION_H

// ***********************************************************************
// * simVis/osgEarthVersion.h is auto-generated.  Do not edit this file. *
// ***********************************************************************

// Flags that impact the detection of osgEarthTriton and osgEarthSilverLining
#cmakedefine HAVE_TRITON_NODEKIT
#cmakedefine HAVE_SILVERLINING_NODEKIT

// osgEarth post-3.0 1f5f57c1d9c renamed headers and classes
#cmakedefine HAVE_OSGEARTH_THREADING

/** Detected osgearth-simdis-sdk version */

#define SDK_OSGEARTH_VERSION_MAJOR @SDK_OSGEARTH_VERSION_MAJOR@
#define SDK_OSGEARTH_VERSION_MINOR @SDK_OSGEARTH_VERSION_MINOR@
#define SDK_OSGEARTH_VERSION_PATCH @SDK_OSGEARTH_VERSION_PATCH@

/** Flagged 1 if osgEarth version is detected newer than the latest release (i.e. master) */
#define SDK_OSGEARTH_DEVEL @SDK_OSGEARTH_DEVEL@

/**
 * Convenience macro that can be used to decide whether a feature is present or not i.e.
 * #if SDK_OSGEARTH_MIN_VERSION_REQUIRED(1,6,0)
 *    your code here
 * #endif
 * This style was borrowed from OpenSceneGraph and osgEarth.
 */
#define SDK_OSGEARTH_MIN_VERSION_REQUIRED(MAJOR, MINOR, PATCH) ((SDK_OSGEARTH_DEVEL==1) || (SDK_OSGEARTH_VERSION_MAJOR>MAJOR) || (SDK_OSGEARTH_VERSION_MAJOR==MAJOR && (SDK_OSGEARTH_VERSION_MINOR>MINOR || (SDK_OSGEARTH_VERSION_MINOR==MINOR && SDK_OSGEARTH_VERSION_PATCH>=PATCH))))
#define SDK_OSGEARTH_VERSION_LESS_THAN(MAJOR, MINOR, PATCH) ((SDK_OSGEARTH_VERSION_MAJOR<MAJOR) || (SDK_OSGEARTH_VERSION_MAJOR==MAJOR && (SDK_OSGEARTH_VERSION_MINOR<MINOR || (SDK_OSGEARTH_VERSION_MINOR==MINOR && SDK_OSGEARTH_VERSION_PATCH<PATCH))))
#define SDK_OSGEARTH_VERSION_LESS_OR_EQUAL(MAJOR, MINOR, PATCH) ((SDK_OSGEARTH_VERSION_MAJOR<MAJOR) || (SDK_OSGEARTH_VERSION_MAJOR==MAJOR && (SDK_OSGEARTH_VERSION_MINOR<MINOR || (SDK_OSGEARTH_VERSION_MINOR==MINOR && SDK_OSGEARTH_VERSION_PATCH<=PATCH))))
#define SDK_OSGEARTH_VERSION_GREATER_THAN(MAJOR, MINOR, PATCH) ((SDK_OSGEARTH_DEVEL==1) || (SDK_OSGEARTH_VERSION_MAJOR>MAJOR) || (SDK_OSGEARTH_VERSION_MAJOR==MAJOR && (SDK_OSGEARTH_VERSION_MINOR>MINOR || (SDK_OSGEARTH_VERSION_MINOR==MINOR && SDK_OSGEARTH_VERSION_PATCH>PATCH))))
#define SDK_OSGEARTH_VERSION_GREATER_OR_EQUAL(MAJOR, MINOR, PATCH) ((SDK_OSGEARTH_DEVEL==1) || (SDK_OSGEARTH_VERSION_MAJOR>MAJOR) || (SDK_OSGEARTH_VERSION_MAJOR==MAJOR && (SDK_OSGEARTH_VERSION_MINOR>MINOR || (SDK_OSGEARTH_VERSION_MINOR==MINOR && SDK_OSGEARTH_VERSION_PATCH>=PATCH))))

#endif // SIMVIS_OSGEARTHVERSION_H
